package 笔试.大华.二进制转换;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String a1 = scan.next();
        String b1 = scan.next();
        Long a = Long.parseLong(a1, 2);
        Long b = Long.parseLong(b1, 2);
        System.out.println(Long.toBinaryString(a + b));
    }
}
